Skip to content

ci(release): fix x86_64-linux-musl build (cmake + g++); defer aarch64-linux (#69) - #70

Merged
logannye merged 3 commits into
mainfrom
ci/fix-musl-release-zlib
Jun 9, 2026
Merged

ci(release): fix x86_64-linux-musl build (cmake + g++); defer aarch64-linux (#69)#70
logannye merged 3 commits into
mainfrom
ci/fix-musl-release-zlib

Conversation

@logannye

@logannye logannye commented Jun 9, 2026

Copy link
Copy Markdown
Owner

x86_64-linux-musl had never built with htslib (v0.1.0 predated rust-htslib); hts-sys 2.2.0 forces libz-sys/zlib-ng (CMake + C++). Fixed with cmake + host g++. aarch64-linux deferred (#69, rust-htslib E0308). Dry-run validated: x86_64-musl + both macOS green.

🤖 Generated with Claude Code

logannye and others added 3 commits June 9, 2026 09:03
…lib-ng

hts-sys 2.2.0 hard-enables libz-sys/zlib-ng, whose CMake build needs a C++ compiler;
the musl runners only had musl-gcc, so both Linux release jobs failed. Install cmake and
point CXX at the host g++ (right arch on these native runners; zlib-ng is C-only).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…htslib bug)

The cmake + host-g++ fix lets the x86_64-unknown-linux-musl release build htslib's
libz-sys/zlib-ng (it had never built with htslib before — v0.1.0 predated rust-htslib).

aarch64-unknown-linux-musl is dropped for now: rust-htslib 0.44.1 fails to compile on
aarch64 (E0308 c_char signedness mismatch, upstream). install.sh reverts to source for
aarch64-linux. Tracked separately.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@logannye
logannye merged commit 52186d3 into main Jun 9, 2026
3 checks passed
@logannye
logannye deleted the ci/fix-musl-release-zlib branch June 9, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant